/*
 * Main.java
 *
 * Created on 30 de octubre de 2008, 12:50
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

import java.io.*;

public class Main {

    public static void main(String args[]) throws Exception {
        File archivo = null;
        FileReader fr = null;
        try {
            archivo = new File("PROP-palabras.txt");

            fr = new FileReader(archivo);
            BufferedReader br = new BufferedReader(fr);
            String s;
            while ((s = br.readLine()) != null) {
                System.out.println(s);
            }
            
            fr.close();
        } catch (IOException e) {
            System.out.println(e);
        } finally {
            try {
                if (fr != null) {
                    fr.close();
                }
            } catch (IOException e) {
                System.out.println(e);
            }
        }
    }
}
    
    

